package org.dtrd.modules.archive.entity.bean.laboratory;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.dtrd.common.api.dto.BasePatientRequest;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 实验室检测-血糖检查
 *
 * @author xiao
 * @date 2022/7/27 2:05 PM
 */
@Data
public class LaboratorySugarDTO extends BasePatientRequest {

    private Integer dataId;

    @ApiModelProperty(value = "检查日期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date sugarFastingDate;

    @ApiModelProperty(value = "空腹血糖")
    private Float sugarFasting;

    @ApiModelProperty(value = "随机血糖1")
    private Float sugarRandom1;

    @ApiModelProperty(value = "餐后2h血糖")
    private Float sugarAfter2;

    @ApiModelProperty(value = "糖化")
    private Float hba1c;

    /**
     * 血糖检查是否确认完成, 1-是, 0-否
     */
    @ApiModelProperty(value = "是否确认完成, 1-是, 0-否")
    private Integer sugarIsFinished;


    /**
     * 血糖报告
     */
    @ApiModelProperty(value = "血糖报告")
    private String sugarReportName;

    /**
     * 血糖报告结论
     */
    @ApiModelProperty(value = "血糖报告结论")
    private String sugarReportConclusion;

    /**
     * 血糖报告图片
     */
    @ApiModelProperty(value = "血糖报告图片")
    private String sugarReportPhoto;

}
